package net.learn.system.convert;

import net.learn.system.entity.SysAboutEntity;
import net.learn.system.vo.SysAboutVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysAboutConvert {
    SysAboutConvert INSTANCE = Mappers.getMapper(SysAboutConvert.class);

    SysAboutVO convert(SysAboutEntity entity);

    SysAboutEntity convert(SysAboutVO vo);

    List<SysAboutVO> convertList(List<SysAboutEntity> list);

}
